package cc.telecomdigital.tdstock.testcase;

import junit.framework.Assert;
import android.test.AndroidTestCase;

public class ExceptionTestCase extends AndroidTestCase
{

	public void testSomething() throws Throwable
	{
		int oringalId = -1;
		try
		{
			oringalId = getId();
		}
		catch(Exception e) {
			
		}
		
		
		Assert.assertTrue(oringalId  == -1);
	}
	
	
	public static int   getId() throws Exception
	{
		int result = -999;
		result = result / (1-1);
		return result;
	}

	
}
